import { getBaseInfo, updateBaseInfo, getBasicSet, saveBasicSet, getRiskOptions } from '@/services/BaseSet'

export default () => {
  const GetBaseInfo = () => {
    return getBaseInfo()
  }

  const UpdateBaseInfo = (data: any) => {
    return updateBaseInfo(data)
  }

  const GetBasicSet = () => {
    return getBasicSet()
  }

  const SaveBasicSet = (params: any) => {
    return saveBasicSet(params)
  }

  const GetRiskOptions = () => {
    return getRiskOptions()
  }

  return {
    GetBaseInfo,
    UpdateBaseInfo,
    GetBasicSet,
    SaveBasicSet,
    GetRiskOptions,
  }
}
